﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 人员
    /// </summary>
    [SugarTable("Users")]
    public class Users
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UserId { get; set; }

        /// <summary>
        /// 登录账号
        /// </summary>
        public string UserLoginId { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户别名
        /// </summary>
        public string UserAlias { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public string UserType { get; set; }

        /// <summary>
        /// 数据源类型
        /// </summary>
        public string SourceType { get; set; }

        /// <summary>
        /// 数据源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// FIrst名称
        /// </summary>
        public string FirstName { get; set; }

        /// <summary>
        /// Middle名称
        /// </summary>
        public string MiddleName { get; set; }

        /// <summary>
        /// Last名称
        /// </summary>
        public string LastName { get; set; }

        /// <summary>
        /// 名称拼音首字母
        /// </summary>
        public string PinyinFirstWord { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 邮件
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// Emailbake
        /// </summary>
        public string Emailbake { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? BirthDay { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string MobilePhone { get; set; }

        /// <summary>
        /// Extension
        /// </summary>
        public string Extension { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        public string Company { get; set; }

        /// <summary>
        /// EmployeeType1
        /// </summary>
        public string EmployeeType1 { get; set; }

        /// <summary>
        /// CostCenterDesc
        /// </summary>
        public string CostCenterDesc { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public Guid? CreateUserId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人Id
        /// </summary>
        public Guid? MidifyUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 最新登录时间
        /// </summary>
        public DateTime? LastestLoginDate { get; set; }

        /// <summary>
        /// F1
        /// </summary>
        public string F1 { get; set; }

        /// <summary>
        /// F2
        /// </summary>
        public string F2 { get; set; }

        /// <summary>
        /// F3
        /// </summary>
        public string F3 { get; set; }

        /// <summary>
        /// F4
        /// </summary>
        public string F4 { get; set; }

        /// <summary>
        /// F5
        /// </summary>
        public string F5 { get; set; }

        /// <summary>
        /// F6
        /// </summary>
        public string F6 { get; set; }

        /// <summary>
        /// 上级公司Id
        /// </summary>
        public int? SubCompanyId { get; set; }

        /// <summary>
        /// PasswordLockTime
        /// </summary>
        public DateTime? PasswordLockTime { get; set; }

        /// <summary>
        /// NoLoginLockTime
        /// </summary>
        public DateTime? NoLoginLockTime { get; set; }

        /// <summary>
        /// ApproveDate
        /// </summary>
        public DateTime? ApproveDate { get; set; }

        /// <summary>
        /// LockStatus
        /// </summary>
        public int? LockStatus { get; set; }

        /// <summary>
        /// InstanceID
        /// </summary>
        public string InstanceId { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// IsStoreRequest
        /// </summary>
        public int? IsStoreRequest { get; set; }

        /// <summary>
        /// SortCode
        /// </summary>
        public int? SortCode { get; set; }

        /// <summary>
        /// UpperUserID
        /// </summary>
        public string UpperUserId { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public string Grade { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string JobTitle { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public int? CompanyId { get; set; }

        /// <summary>
        /// 组织Id
        /// </summary>
        public int? OrganizationId { get; set; }

        /// <summary>
        /// 组织名称全路径
        /// </summary>
        public string FullPathText { get; set; }

        /// <summary>
        /// 组织全路径
        /// </summary>
        public string FullPathCode { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrganizationName { get; set; }

        /// <summary>
        /// 离职日期
        /// </summary>
        public DateTime? ResignationDate { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string DeptCode { get; set; }
    }
}
